package com.yulong.web.server.Impl;

import com.yulong.model.pojo.UmsResourceCategory;
import com.yulong.web.mapper.UmsResourceCategoryMapper;
import com.yulong.web.server.UmsResourceCategoryServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UmsResourceCategoryServerImpl implements UmsResourceCategoryServer {

    @Autowired
    private UmsResourceCategoryMapper resourceCategoryMapper;

    @Override
    public List<UmsResourceCategory> listAll() {
        return resourceCategoryMapper.listAll();
    }
}
